package qf.common.security.entitiy;

import java.util.List;

public class SysUser extends BaseEntity{
    public static final Integer FLG_UP = 1;  //上线
    public static final Integer FLG_DOWN = 0; //下线

    private String userName;
    private String password;
    private Integer flg; // 标识，是否上线
    private Long oauthExpTime; // 权限过期时间
    private Long parentId; // 父级id
    private String busiNo; // 业务编号
    private String secretkey; // 密钥


    private List<String> sysRoles; // 角色内容

    private List<String> rightsName; // 权限内容


    public Integer getFlg() {
        return flg;
    }

    public void setFlg(Integer flg) {
        this.flg = flg;
    }

    public Long getOauthExpTime() {
        return oauthExpTime;
    }

    public void setOauthExpTime(Long oauthExpTime) {
        this.oauthExpTime = oauthExpTime;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public List<String> getSysRoles() {
        return sysRoles;
    }

    public void setSysRoles(List<String> sysRoles) {
        this.sysRoles = sysRoles;
    }


    public List<String> getRightsName() {
        return rightsName;
    }

    public void setRightsName(List<String> rightsName) {
        this.rightsName = rightsName;
    }

    public String getBusiNo() {
        return busiNo;
    }

    public void setBusiNo(String busiNo) {
        this.busiNo = busiNo;
    }

    public String getSecretkey() {
        return secretkey;
    }

    public void setSecretkey(String secretkey) {
        this.secretkey = secretkey;
    }
}
